all: cam-test console follower radar-test

cam-test: main_cam-test.c cam_suite.cpp cam_suite.h
	g++ -O2 -o cam-test main_cam-test.c cam_suite.cpp

console: main_console.c contr_suite.c contr_suite.h
	gcc -O2 -g -o console main_console.c contr_suite.c

follower: main_follower.c contr_suite.c contr_suite.h cam_suite.cpp cam_suite.h
	g++ -O2 -DDEBUG=1 -o follower main_follower.c contr_suite.c cam_suite.cpp

radar-test: main_radar-test.c contr_suite.c contr_suite.h
	gcc -O2 -o radar-test main_radar-test.c contr_suite.c

clean:
	rm cam-test console follower
